﻿using scheduleMVC.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using Microsoft.AspNet.Identity.EntityFramework;

namespace scheduleMVC.DAL
{
    public class TasksContext : DbContext
    {
        public TasksContext(): base("DefaultConnection")
        { }
        public DbSet<TasksModel> Tasks { get; set; }
        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            //Configure domain classes using Fluent API here

            base.OnModelCreating(modelBuilder);
        }

        public System.Data.Entity.DbSet<scheduleMVC.Models.CustomerModel> CustomerModels { get; set; }

        public System.Data.Entity.DbSet<scheduleMVC.Models.EmployeeModel> EmployeeModels { get; set; }
    }
}